import React from 'react'
import ReactDOM from 'react-dom'
import App from './router'


// 导入路由 @5
import { BrowserRouter as Router } from 'react-router-dom'

// redux
import { Provider } from 'react-redux'
import store from './store'

ReactDOM.render(
  <Provider store={store}>
    <Router>
      <App />
    </Router>
  </Provider>,
  document.getElementById('root')
)



// import React from 'react'
// import ReactDOM from 'react-dom'
// import App from './App'

// import { Provider } from 'react-redux'
// import store from './store'

// ReactDOM.render(
//   <Provider store={store}>
//     <App />
//   </Provider>,
//   document.getElementById('root')
// )
